//
//  UIButton+YTBackgroundColor.m
//  yangtao
//
//  Created by Tommy on 14/10/21.
//  Copyright (c) 2014年 com.taobao. All rights reserved.
//

#import "UIButton+KLBackgroundColor.h"
#import "UIImage+KLColor.h"

@implementation UIButton (KLBackgroundColor)
- (void)setBackgroundColor:(UIColor *)backgroundColor forState:(UIControlState)state{
    [self setBackgroundImage:[UIImage imageWithColor:backgroundColor] forState:state];
}

@end
